package park;

import park.model.Account2VO;
import park.services.Account2Service;

public class J16Account {
	
	//Account2VO
	//Account2IService
	//Account2Service
	
	public static void main(String[] args) {
		//계좌정보 작성
		Account2VO ac = new Account2VO("1122",20000,4.5,"2014-04-01");
		               
		
		//계좌처리(월간이자계산,입금,인출)
		Account2Service as = new Account2Service();
		as.getMonthlyInterestRate(ac);
		as.withDraw(ac , 1950); //인출
		as.deposit(ac , 5000);  //입금
		
		//결과출력
		ac.toString();
		
	}

}
